﻿using System;
using Autodesk.Revit.DB;

namespace YJKCarSlopingPath
{
	public struct TextNoteInfo
	{
		public TextNoteInfo(TextNoteInfo rhs)
		{
			this.m_Text = rhs.m_Text;
			this.m_Color = rhs.m_Color;
			this.m_Height = rhs.m_Height;
			this.m_Center = rhs.m_Center;
			this.m_BoundingBoxWidth = rhs.m_BoundingBoxWidth;
			this.m_BoundingBoxHeight = rhs.m_BoundingBoxHeight;
			this.m_Angle = rhs.m_Angle;
		}

		public TextNoteInfo(string text, PenColor color, double height, XYZ center, double boundingBoxWidth, double boundingBoxHeight)
		{
			this.m_Text = text;
			this.m_Color = color;
			this.m_Height = height;
			this.m_Center = center;
			this.m_BoundingBoxWidth = boundingBoxWidth;
			this.m_BoundingBoxHeight = boundingBoxHeight;
			this.m_Angle = 0.0;
		}

		public TextNoteInfo(string text, PenColor color, double height, XYZ center, double boundingBoxWidth, double boundingBoxHeight, double angle)
		{
			this.m_Text = text;
			this.m_Color = color;
			this.m_Height = height;
			this.m_Center = center;
			this.m_BoundingBoxWidth = boundingBoxWidth;
			this.m_BoundingBoxHeight = boundingBoxHeight;
			this.m_Angle = angle;
		}

		public string m_Text;

		public PenColor m_Color;

		public double m_Height;

		public XYZ m_Center;

		public double m_BoundingBoxWidth;

		public double m_BoundingBoxHeight;

		public double m_Angle;
	}
}
